<!-- 
<?php
print<<<EF
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="templates/msystem/ljy.css" rel="stylesheet" type="text/css" />
<link href="ljy.css" rel="stylesheet" type="text/css" />
</head>
<style type="text/css">
<!--
body,td,th {
	text-align:left;
}
-->
</style>
<base target="_self" />
<body style="text-align:left">
<!-- 
EF;
if($type=='acs'){
print<<<EF
-->
<div id="toppath">ACS配置</div>
<table style=" float:left;" width="100%" border="0" cellpadding="3" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<th colspan="5" align="center" valign="middle" bgcolor="#F0F0F0">请选择分类</th>
</tr>
<tr>
<td width="20%"align="center"><a href="deploy.php?action=show&type=acs&item=alarm" target='_self'>配置告警</a></td>
<td width="20%" align="center">&nbsp;</td>
<td width="20%" align="center">&nbsp;</td>
<td width="20%" align="center">&nbsp;</td>
<td width="20%" align="center">&nbsp;</td>
</tr>
</table>
<!-- 
EF;
}
if($type=='acs'&&$item=='alarm'){
print<<<EF
-->
<form action="deploy.php" method="post" name="acs">
<input type="hidden" name="action" value="edit" />
<input type="hidden" name="type" value="$type" />

<table style=" float:left;" width="100%" border="0" cellpadding="3" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<th width="40%" align="center" valign="middle" bgcolor="#F0F0F0">告警配置</th>
<th width="30%" bgcolor="#F0F0F0" align="left">参数值</th>
<th width="20%" bgcolor="#F0F0F0" align="left">单位</th>
</tr>
<tr>
<td>24小时内下载流量值最大值(大于该值告警)：</td>
<td><input name="num1" type="text" class="inputtext" size="20" value="$acs[0]"/></td>
<td>GB</td>
</tr>
<tr>
<td>单个连接下载流量最小值(小于该值告警)：</td>
<td><input name="num2" type="text" class="inputtext" size="20" value="$acs[1]"/></td>
<td>MB</td>
</tr><tr>
<td>24小时内缓存种子最小值(小于该值告警)：</td>
<td><input name="num3" type="text" class="inputtext" size="20" value="$acs[2]"/></td>
<td>个</td>
</tr>
<tr>
<td>24小时内预缓存的种子最小值(小于该值告警)：</td>
<td><input name="num4" type="text" class="inputtext" size="20" value="$acs[3]"/></td>
<td>个</td>
</tr>
<tr>
<td>ACS最小剩余空间(小于该值告警)：</td>
<td><input name="num5" type="text" class="inputtext" size="20" value="$acs[4]"/></td>
<td>GB</td>
</tr></table>
<div id="pagediv" align="center">
<input style="background:#FCE898; border:#CCCCCC solid 1px; width:60px; padding-top:5px;" type="submit"  name="msubmit"  value="提 交"/>&nbsp;<input style="background:#FCE898; border:#CCCCCC solid 1px; width:60px; padding-top:5px;" name="reset" type="reset" value="重置" />
</div>
</form>

<!-- 
EF;
}
if($type=='rds'){
print<<<EF
-->
<div id="toppath">RDS配置</div>
<table style=" float:left;" width="100%" border="0" cellpadding="3" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<th colspan="5" align="center" valign="middle" bgcolor="#F0F0F0">请选择分类</th>
</tr>
<tr>
<td width="20%"align="center"><a href="deploy.php?action=show&type=rds&item=alarm" target='_self'>配置告警</a></td>
<td width="20%" align="center">&nbsp;</td>
<td width="20%" align="center">&nbsp;</td>
<td width="20%" align="center">&nbsp;</td>
<td width="20%" align="center">&nbsp;</td>
</tr>
</table>
<!-- 
EF;
}
if($type=='rds'&&$item=='alarm'){
print<<<EF
-->
<form action="deploy.php" method="post" name="rds">
<input type="hidden" name="action" value="edit" />
<input type="hidden" name="type" value="$type" />
<table style=" float:left;" width="100%" border="0" cellpadding="3" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<th width="40%" align="center" valign="middle" bgcolor="#F0F0F0">告警配置</th>
<th width="30%" bgcolor="#F0F0F0" align="left">参数值</th>
<th width="20%" bgcolor="#F0F0F0" align="left">单位</th>
</tr>
<tr>
<td>24小时内抓取种子最小值(小于该值告警)：</td>
<td><input name="num1" type="text" class="inputtext" size="20" value="$rds[0]"/></td>
<td>个</td>
</tr>
<tr>
<td>24小时内用户请求数最小值(小于该值告警)：</td>
<td><input name="num2" type="text" class="inputtext" size="20" value="$rds[1]"/></td>
<td>次</td>
</tr>
<tr>
<td>24小时内预缓存种子数最小值(小于该值告警)：</td>
<td><input name="num3" type="text" class="inputtext" size="20" value="$rds[2]"/></td>
<td>个</td>
</tr>
<tr>
<td>24小时内GET最小值(小于该值告警)：</td>
<td><input name="num4" type="text" class="inputtext" size="20" value="$rds[3]"/></td>
<td>个</td>
</tr>

</table>
  <div id="pagediv" align="center">
   <input style="background:#FCE898; border:#CCCCCC solid 1px; width:60px; padding-top:5px;" type="submit"  name="msubmit"  value="提 交"/>
   　 
   <input style="background:#FCE898; border:#CCCCCC solid 1px; width:60px; padding-top:5px;" name="reset" type="reset" value="重置" />
</div>
</form>
<!-- 
EF;
}
if($type=='ics'){
print<<<EF
-->
<div id="toppath">ICS配置</div>
<table style=" float:left;" width="100%" border="0" cellpadding="3" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<th colspan="5" align="center" valign="middle" bgcolor="#F0F0F0">请选择分类</th>
</tr>
<tr>
<td width="20%"align="center"><a href="deploy.php?action=show&type=ics&item=alarm" target='_self'>配置告警</a></td>
<td width="20%" align="center">&nbsp;</td>
<td width="20%" align="center">&nbsp;</td>
<td width="20%" align="center">&nbsp;</td>
<td width="20%" align="center">&nbsp;</td>
</tr>
</table>

<!-- 
EF;
}
if($type=='ics'&&$item=='alarm'){
print<<<EF
-->
<form action="deploy.php" method="post" name="ics">
<input type="hidden" name="action" value="edit" />
<input type="hidden" name="type" value="$type" />

<table style=" float:left;" width="100%" border="0" cellpadding="3" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<th width="40%" align="center" valign="middle" bgcolor="#F0F0F0">参数名称</th>
<th width="30%" bgcolor="#F0F0F0" align="left">参数值</th>
<th width="20%" bgcolor="#F0F0F0" align="left">单位</th>
</tr>
<tr>
<td>24小时内推送页显示次数最小值(小于该值告警)：</td>
<td><input name="num1" type="text" class="inputtext" size="20" value="$woso[1]"/></td>
<td>次</td>
</tr>
<tr>
<td>24小时内下载种子次数最小值(小于该值告警)：</td>
<td><input type="text" name="num2" class="inputtext" size="20" value="$woso[2]"/></td>
<td>个</td>
</tr>
</tr>
</table>
  <div id="pagediv" align="center">
   <input style="background:#FCE898; border:#CCCCCC solid 1px; width:60px; padding-top:5px;" type="submit"  name="msubmit"  value="提 交"/>
   　 
   <input style="background:#FCE898; border:#CCCCCC solid 1px; width:60px; padding-top:5px;" name="reset" type="reset" value="重置" />
</div>
</form>
<!-- 
EF;
}
if($type=='wcs'){
print<<<EF
-->
<div id="toppath">WCS配置</div>
<table style=" float:left;" width="100%" border="0" cellpadding="3" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<th colspan="5" align="center" valign="middle" bgcolor="#F0F0F0">请选择分类</th>
</tr>
<tr>
<td width="20%"align="center"><a href="deploy.php?action=show&type=wcs&item=alarm" target='_self'>配置告警</a></td>
<td width="20%" align="center">&nbsp;</td>
<td width="20%" align="center">&nbsp;</td>
<td width="20%" align="center">&nbsp;</td>
<td width="20%" align="center">&nbsp;</td>
</tr>
</table>
<!-- 
EF;
}
if($type=='wcs'&&$item=='alarm'){
print<<<EF
-->
<form action="deploy.php" method="post" name="wcs">
<input type="hidden" name="action" value="edit" />
<input type="hidden" name="type" value="$type" />
<table style=" float:left;" width="100%" border="0" cellpadding="3" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<th width="40%" align="center" valign="middle" bgcolor="#F0F0F0">参数名称</th>
<th width="30%" bgcolor="#F0F0F0" align="left">参数值</th>
<th width="20%" bgcolor="#F0F0F0" align="left">单位</th>
</tr>
<tr>
<td>24小时内被动抓取视频最小值(小于该值告警)：</td>
<td><input name="num1" type="text" class="inputtext" size="20" value="$wcs[0]"/></td>
<td>个</td>
</tr>
<tr>
<td>24小时内预缓存视频最小值(小于该值告警)：</td>
<td><input name="num2" type="text" class="inputtext" size="20" value="$wcs[1]"/></td>
<td>个</td>
</tr>
<tr>
<td>WCS最小剩余空间(小于该值告警)：</td>
<td><input name="num3" type="text" class="inputtext" size="20" value="$wcs[2]"/></td>
<td>GB</td>
</tr>
</table>
  <div id="pagediv" align="center">
   <input style="background:#FCE898; border:#CCCCCC solid 1px; width:60px; padding-top:5px;" type="submit"  name="msubmit"  value="提 交"/>
   　 
   <input style="background:#FCE898; border:#CCCCCC solid 1px; width:60px; padding-top:5px;" name="reset" type="reset" value="重置" />
</div>
</form>
<!-- 
EF;
}
if($type=='tracker'){
print<<<EF
-->
<div id="toppath">Tracker配置</div>
<table style=" float:left;" width="100%" border="0" cellpadding="3" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<th colspan="5" align="center" valign="middle" bgcolor="#F0F0F0">请选择分类</th>
</tr>
<tr>
<td width="20%"align="center"><a href="deploy.php?action=show&type=tracker&item=alarm" target='_self'>配置告警</a></td>
<td width="20%" align="center"><a href="deploy.php?action=show&type=tracker&item=detail" target='_self'>配置地址</a></td>
<td width="20%" align="center">&nbsp;</td>
<td width="20%" align="center">&nbsp;</td>
<td width="20%" align="center">&nbsp;</td>
</tr>
</table>
<!-- 
EF;
}
if($type=='tracker'&&$item=='alarm'){
print<<<EF
-->
<form action="deploy.php" method="post" name="tracker">
<input type="hidden" name="action" value="edit" />
<input type="hidden" name="type" value="$type" />

<table style=" float:left;" width="100%" border="0" cellpadding="3" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<th width="40%" align="center" valign="middle" bgcolor="#F0F0F0">参数名称</th>
<th width="30%" bgcolor="#F0F0F0" align="left">参数值</th>
<th width="20%" bgcolor="#F0F0F0" align="left">单位</th>
</tr>
<tr>
<td>Tracker重定向最小值(小于该值告警)：</td>
<td><input name="num1" type="text" class="inputtext" size="20" value="$tra[0]"/></td>
<td>次</td>
</tr>
</table>
  <div id="pagediv" align="center">
   <input style="background:#FCE898; border:#CCCCCC solid 1px; width:60px; padding-top:5px;" type="submit"  name="msubmit"  value="提 交"/>
   　 
   <input style="background:#FCE898; border:#CCCCCC solid 1px; width:60px; padding-top:5px;" name="reset" type="reset" value="重置" />
</div>
<input type="hidden" name="item" value="alarm" />
</form>
<!-- 
EF;
}
if($type=='tracker'&&$item=='detail'){
print<<<EF
-->
<form name="tracker" method="post" action="deploy.php">
<input type="hidden" name="action" value="edit" />
<input type="hidden" name="type" value="$type" />
<input type="hidden" name="item" value="detail" />
<table width="100%" border="0" cellpadding="3" cellspacing="0" bgcolor="#FFFFFF" >
<tr>
	<th height="27" colspan="3" align="center" valign="middle" bgcolor="#EFEFEF">编辑tracker地址
	</th>
</tr>
<tr>
    <td align="center" class="table_left">tracker设置<br />
	<font color="#990000">每个tracker用分号';'(半角)连接:<br />http://www.5x1bt.com:45522;<br />http://www.5x1bt.net:25483;http://www.5x1bt.cn:65184</font>
	</td>
    <td align="center">
    <textarea name="trackercontent" cols="40" rows="4">$trackercontent</textarea>
	</td>
</tr>
</table>
<div id="pagediv" align="center">
<input style="background:#FCE898; border:#CCCCCC solid 1px; width:60px; padding-top:5px;" type="submit"  name="msubmit"  value="提 交"/>
<input style="background:#FCE898; border:#CCCCCC solid 1px; width:60px; padding-top:5px;" name="reset" type="reset" value="重置" />	  
</div>
</form>
<!-- 
EF;
}
print<<<EF
-->
</body>
</html>
<!-- 
EF;
?>
-->